import http from '../http'

// 获取直充商品分类
function getAllCategoryApi(data:any) {
  return http.get('/product/api/v1/direct/category', data)
}
// 根据品牌名称获取直充商品列表
function getListByBrandNameApi(data: any) {
  return http.get('/product/api/v1/direct/listByBrandName', data)
}
// 查询直充商品详情
function getProductDetailApi(data: any) {
  return http.get('/product/api/v1/direct/productDetail', data)
}

export default {
  getAllCategoryApi,
  getListByBrandNameApi,
  getProductDetailApi,
}
